<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<script type="text/javascript">
			var path="<%=path%>";
		</script>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<script type="text/javascript" src="<%=path%>/js/jquery/jquery-1.10.2.min.js"></script>
		<script type="text/javascript" src="<%=path%>/js/extJquery.js"></script>
		<script type="text/javascript" src="<%=path %>/js/adminLogin.js"></script>
		<title>用户注册</title>
	</head>

	<body style="text-align: center">
	     <form id="userRegisterForm" >
	     	<div id="errmsg"  style="color: #FFFFFF; font-size: 12px; ">&nbsp;</div>
			<br>
			用户名:<input type="text" name="userName" value="请输入邮箱或电话" id="userName" onblur="javascript:verifyUser()" onFocus="javascript:inputClean()" onblur="if(this.value==''){this.value='输入邮箱或电话'}">
			<br>
			密&nbsp;&nbsp;&nbsp;码:<input type="password" name="userPassword" value="" id="userPassword" >
			<br>
			密&nbsp;&nbsp;&nbsp;码:<input type="password" name="userPassword2" value="" id="userPassword2" >
			<br>
			<div id="userMobileDiv" style="display: none;">手机号码:<input type="text" name="userMobile" value="" id="userMobile" ></div>
			<br>
			手机码:<input type="text" value="" name="verifyMobileCode" id="verifyMobileCode" onblur="verifyMobileCode()">
			<br>
			验证码:<input onkeydown="verifyCode()" type="text" value="" name="verifyCode" id="verifyCode" >
			<br>
			     <img style="width:170px;" id="verifyCodeImage" onclick="changeImage()" src="<%=path%>/Kaptcha.jpg" />
			<br>     
			<a href="javascript:getVerifyMobileCode();">获取手机验证码</a>&nbsp;&nbsp;&nbsp; <a href="javascript:register();">注册</a> 
			<!-- a href="#url" onclick="javascript:sysCancel();">取消</a-->  
		</form>
	</body>
</html>